package com.itheima.dao;


import com.github.pagehelper.Page;
import com.itheima.pojo.Index;

import java.util.List;

public interface IndexDao {
    public void add(Index index);
    public Page<Index> findByCondition(String queryString);
    public Index findById(Integer id);
    public void edit(Index index);
    public List<Index> findAll();
}